<?php
namespace Home\Controller;

use Common\Controller\HomeController;

class TemplateController extends HomeController
{
    /**
     * 短信模板列表
     * @author Mr.Alien
     * @return string
     */
    public function index($p = 1)
    {
        I('get.name') && ($this->where['name'] = array('like','%'.I('get.name').'%'));
        parent::index($p);
    }
}